package com.ybkj.daijia.server.service.impl;


import com.google.gson.Gson;
import com.ybkj.daijia.server.model.RentShop;
import com.ybkj.daijia.server.service.ShopService;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Service;

/**
 * @author Shine
 */
@Service
public class DefaultShopService implements ShopService {

    @Override
    public List<RentShop> selectById(Long companyId) {
        //模拟rentshop数据
        List<RentShop> list = new ArrayList<RentShop>();
        RentShop shop;
        for (int i = 0; i < 10; i++) {
            shop = new RentShop();
            shop.setId(Long.valueOf(i));
            shop.setShopName("门店" + i);
            list.add(shop);
        }
        Gson gson = new Gson();
        return list;
    }

}
